package com.powernode.mapper;

import com.powernode.domain.VisitLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VisitLogMapper {
    int insert(VisitLog record);

    int insertSelective(VisitLog record);

    /**
     * 根据客户id查询当前客户的拜访记录
     *
     * @param customerId
     * @return
     */
    List<VisitLog> queryVisitLogByCustomerById(@Param("customerId") Integer customerId);
}